package com.zjc.yohoshop.mvp.model;

import com.zjc.lib_core.http.MResponseManager;
import com.zjc.lib_core.mvp.model.BaseModel;
import com.zjc.yohoshop.bean.HomeMenuEntity;
import com.zjc.yohoshop.mvp.contract.ClassifyFragmentContract;
import com.zjc.yohoshop.network.API;

import javax.inject.Inject;

import io.reactivex.Observable;

public class ClassifyFragmentModel extends BaseModel implements ClassifyFragmentContract.ClassiftFragmentIModel {

    @Inject
    public ClassifyFragmentModel(){}


    @Override
    public void destroy() {

    }

    @Override
    public Observable<HomeMenuEntity> requestMenu() {
        return MResponseManager.obtainRetrofit(API.class).home_menu_request();
    }
}
